<!DOCTYPE HTML>
<html>
<head>
	<#include "layout/head.html"/>
</head>
<body>

<!-- Wrapper -->
<div id="wrapper">
	<!-- Main -->
	<div id="main">
		<nav  class="menu show-in-phone hide-in-table">
			<ul id="menu-phone">
				<li class="bars"><a  class="fa fa-bars" onclick="lvbar()"></a></li>
				<#include "layout/menu.html"/>
			</ul>
		</nav>
		<div class="inner">
			<!-- Header -->
			<header id="header" hidden="hidden">
				<@jp.menus>
				<#list menus as menu>
				<#if menu.isActive() >
					${menu.title!}
				</#if>
				</#list>
				</@jp.menus>
			</header>


			<@jp.contentPage pageSize="10" >
			<#list page.getList() as content>
				<#include "layout/main_summary.html"/>
			</#list>
			</@jp.contentPage>
			<br>
			<!--分页 -->
			<#if (page.totalRow> 10 )>
			<ul class="x-page">
				<@pagination anchor="allComment">
				<#list pages as pi>
				<li class="${pi.style!}">
					<a href="${pi.url!}">${pi.text!}</a>
				</li>
			</#list>
			</@pagination>
			</ul>
			</#if>
</div>
</div>

<!-- Sidebar -->
<#include "layout/sidebar.html"/>
</div>

</div>

<!-- Scripts -->
<script type="text/javascript">
    //加载完毕后，为该visitor生成cookie id
    $(function(){
        var page = $("#header").text();
        //判断浏览器是否支持cookie
        if (!navigator.cookieEnabled){
            page += "&cne=cookie_not_enable";
        }
        record(page);
    })

</script>

</body>
</html>